package org.jeecg.cn.edu.scau.vm.image.enums;

import lombok.Getter;
import org.jeecg.cn.edu.scau.vm.common.consts.ImageConst;

@Getter
public enum VmImageStatusEnum {
    IMAGE_WAITING_FOR_SUBMIT(0, "待提交", ImageConst.DEFAULT),

    IMAGE_WAITING(1, "待审核", ImageConst.WAITING),

    IMAGE_PASSED(2, "审核通过", ImageConst.PASS),

    IMAGE_REJECT(3, "审核不通过", ImageConst.REJECT);


    private final int code;
    private final String message;
    private final String statusType;

    VmImageStatusEnum(int code, String message, String statusType) {
        this.code = code;
        this.message = message;
        this.statusType = statusType;
    }

}
